var Index = function () {

};

Index.prototype.init = function () {
    this.initSwiper();
};

Index.prototype.initSwiper = function () {
    var swiper = new Swiper('.swiper-container', {
        nextButton: '.swiper-button-next',
        prevButton: '.swiper-button-prev',
        spaceBetween: 0
    });
};

var index = new Index();
index.init();